﻿using System;

namespace WJP.MetaModel
{
    /// <summary>
    /// 属性运行时
    /// </summary>
    public interface IPropertyRuntime
    {
        /// <summary>
        /// 属性名称
        /// </summary>
        string Name { get; }

        /// <summary>
        /// 属性类型
        /// </summary>
        Type PropertyType { get; }

        /// <summary>
        /// 是否可写
        /// </summary>
        bool CanWrite { get; }

        /// <summary>
        /// 
        /// </summary>
        object Core { get; }
    }
}